//
//  GDTansitionModelDate.h
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/4.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GDWeatherModelCenter.h"
#import "GDBusStationStatsModel.h"
#import "GDBusStationLinesModel.h"
#import "GDBusStationLocationModel.h"
#import "GDBusStationNumber.h"

@interface GDTansitionModelDateOperation : NSObject

/**
 *  解析天气模型的数据
 *
 *  @return GDWeatherModel对象
 */
+(void) initDateWithWeather: (id) delegate success:(void(^)(GDWeatherModelCenter* model))success failure:(void(^)(NSError *error))failure;


/**
 *  解析公交 路线数据 输入公交号，显示该公交有多少条路线
 *
 *  @param return  GDBusStationStatsModel对象
 */

+(void) initDatewithBusStationNumber:(id) delegate success:(void(^)(NSArray * model))success failure:(void(^)(NSError *error))failure;


/**
 *  
 *  解析公交的路线信息，上述显示的路线号，触摸后，传入ID，显示该公交的经过路线
 *
 */
+(void) initDateWithBusStationLine:(id) delegate success:(void(^)(NSArray * model))success failure:(void(^)(NSError *error))failure;


/**
 *  解析公交站经过的公交，指定公交站点，显示附近有什么公交经过这个站点
 *
 *  @param return GDBusStationLocationModel对象
 */
+(void) initDateWithBusStationStats:(id) delegate success:(void(^)( GDBusStationStatsModel* model))success failure:(void(^)(NSError *error)) failure;


/**
 *  解析附近公交的站点信息.搜索显示附近的公交站点有什么
 *
 *  @param return GDBusStationLocationModel对象
 */
+(void) initDateWithBUsStationLocation:(id)delegate success:(void(^)(NSArray *model))success failure:(void(^)(NSError *error))failure;


/**
 *
 *  获取公交的实时信息
 *
 */

+(void) initDateWithNowBusSationLocation:(id)delegate success:(void(^)(NSArray *model))success failure:(void(^)(NSError *error))failure;



/**
 *  解析列车信息
 *
 * return GDTrainStationCenterModel对象
 */
+(void) initDateWithTrainStation:(id) delegate success:(void(^)(NSArray* model))success failure:(void(^)(NSError * error))failure;




@end
